package createoffer.data;

import java.util.ArrayList;

public class AllFieldsTests {

	public void runTests(ArrayList<String> codeInjection, int codeInjectionSize) {
		
		allFieldsTests(codeInjection, codeInjectionSize);
		allFieldsCrossSiteScriptingTests(codeInjection, codeInjectionSize);
		offerSuccessFull(codeInjection, codeInjectionSize);
		
	}

	private void allFieldsCrossSiteScriptingTests(
			ArrayList<String> codeInjection, int codeInjectionSize) {
		AllFieldsCrossSiteScripting allFieldsCrossSiteScripting = new AllFieldsCrossSiteScripting();
		allFieldsCrossSiteScripting.runTests(codeInjection, codeInjectionSize);
		
	}

	private void offerSuccessFull(ArrayList<String> codeInjection,
			int codeInjectionSize) {
		OfferSuccessFull offerSuccessFull = new OfferSuccessFull();
		offerSuccessFull.runTests();
		
	}

	private void allFieldsTests(ArrayList<String> codeInjection,
			int codeInjectionSize) {
		AllFieldsNotSuccessFullTests allFieldsNotSuccessFullTests = new AllFieldsNotSuccessFullTests();
		allFieldsNotSuccessFullTests.runTests(codeInjection, codeInjectionSize);
		
	}

}
